package com.qijian.system.domain.query;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 服务器资源对象 查询条件类
 *
 * @author qijian
 * @date 2023-12-25
 */

@Data
@ToString
@TableName("sys_server_resource")
public class ServerQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "system_name")
    private String systemName;
    @WhereType(filed = "ip")
    private String ip;
    @WhereType(filed = "server_belong")
    private String serverBelong;
    @WhereType(filed = "server_expiration_time",type = WhereTypeEnum.BETWEEN)
    private Date[] serverExpirationTime;
    @WhereType(filed = "warn_remaining_day")
    private String warnRemainingDay;
    @WhereType(filed = "warn_level")
    private String warnLevel;
    @WhereType(filed = "low_warn_value")
    private Long lowWarnValue;
    @WhereType(filed = "low_warn_times")
    private Long lowWarnTimes;
    @WhereType(filed = "middle_warn_value")
    private Long middleWarnValue;
    @WhereType(filed = "middle_warn_times")
    private Long middleWarnTimes;
    @WhereType(filed = "high_warn_value")
    private Long highWarnValue;
    @WhereType(filed = "high_warn_times")
    private Long highWarnTimes;
    @WhereType(filed = "reminder_mail")
    private String reminderMail;
    @WhereType(filed = "reminder_phone")
    private String reminderPhone;
    @WhereType(filed = "remark")
    private String remark;



}
